<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FDTree Test</title>
<!-- css -->
<link href="../../style/fdui.css" rel="stylesheet" type="text/css" />
<!-- lib -->
<script type="text/javascript" src="../../src/FDLib/FDLib.js"></script>
<script type="text/javascript" src="../../src/JsMap.js"></script>
<script type="text/javascript" src="city.js"></script>

<style type="text/css">
body{
background-color: white;
}
</style>

<script type="text/javascript">
FDLib.setImportOption({appDir:'../../src/'})
.importJS(['FDTree']);

var treeCity;

window.onload = function() {
	
	treeCity = new FDTree({
		domId:'menu3'
		,data:cityData.rows // 数据详见city.js
		,valueFieldName:'value'
		,textFieldName:'text'
		,childrenFieldName:'items'
	});
}

</script>
</head>
<body>
<div id="menu3" style="border: solid 1px #ccc;width:500px;height: 600px;overflow: auto;"></div>

</body>
</html>